home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Random2.0 / RandomPlot / PointsView.h < prev    next >
Text File  |  1995-06-12  |  732b  |  50 lines

  1. //
  2. // PointsView
  3. //
  4. // This is an Objective-C class that is a view that plots points.
  5. //
  6. // History:
  7. //
  8. //     1992 MAY 04 EDT 19:17:    GNP    Genesis.
  9. //
  10. // Copyright (C) 1992 Contemporary Design Studios.
  11. //
  12.  
  13.  
  14. #import <appkit/View.h>
  15. #import <appkit/Application.h>
  16.  
  17.  
  18. @interface PointsView:View
  19.  
  20.  
  21. {
  22.     id            startButton;
  23.     id            stopButton;
  24.     id          randGen;
  25.     NXModalSession    mySession;
  26.     BOOL        initial;
  27.     BOOL        plottingPoints;
  28. }
  29.  
  30.  
  31. - initFrame:(const NXRect *)frameRect;
  32.  
  33. - start:sender;
  34. - stop:sender;
  35. - clear:sender;
  36. - plotPoints:sender;
  37. - plotLines:sender;
  38.  
  39. - plotX:(double)x y:(double)y;
  40. - plotLine:(double)x1 :(double)y1 :(double)x2 :(double)y2;
  41.  
  42. - drawSelf:(const NXRect *)rects :(int)rectCount;
  43.  
  44.  
  45. @end
  46.  
  47.  
  48. //
  49. // End of file.
  50. //